
<?php
$this->breadcrumbs = array(
    'Quản lý slideshow' => array('index'),
    'Tạo slideshow'
);
?> 

<div class="page-header position-relative">
    <h1>
        Tạo slideshow        </h1>
</div><!--/.page-header-->

<div class="row-fluid">
    <div class="span12">
        <!--PAGE CONTENT BEGINS-->
        <div class="row-fluid">
            <?php
            $form = $this->beginWidget('CActiveForm', array(
                'id' => 'category-form',
//            'enableAjaxValidation' => false,
                'enableClientValidation' => true,
                'htmlOptions' => array(
                    'class' => 'form-horizontal',
                    'enctype' => 'multipart/form-data',
                ),
                    ));
            ?>
            <div class="control-group">
                <label class="control-label" for="form-field-2">Name</label>

                <div class="controls">
                    <?php echo $form->textField($model, 'name', array('size' => 60, 'maxlength' => 255, 'class' => 'span5')); ?>
                    <span class="help-inline"><?php echo $form->error($model, 'name'); ?></span>
                </div>
            </div>
            <div class="control-group">
                <div class="controls">                    
                    <div class="span5">
                        <input multiple="" type="file" id="id-input-file-3" name="items[]" />
                        <label>
                            <input type="checkbox" name="file-format" id="id-file-format" />
                            <span class="lbl"> Allow only images</span>
                        </label>
                    </div>
                </div>   
            </div>
            <div class="form-actions">
                <button class="btn btn-info" type="submit">
                    <i class="icon-ok bigger-110"></i>
                    Submit
                </button>

                &nbsp; &nbsp; &nbsp;
                <button class="btn" type="reset">
                    <i class="icon-undo bigger-110"></i>
                    Reset
                </button>
            </div>
            <?php $this->endWidget(); ?>
        </div>
    </div>
</div>